Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 214 and 205 #290

Merged
merged 13 commits into from
Nov 28, 2020
Merged

Issue 214 and 205 #290

merged 13 commits into from
Nov 28, 2020

Conversation

antoniograndinetti
Copy link
Contributor

@antoniograndinetti antoniograndinetti commented Nov 21, 2020

Fixes #214
Fixes #205

@antoniograndinetti antoniograndinetti changed the title Issue/214 Issue 214 and 205 Nov 21, 2020
@jczuchnowski
Copy link
Member

@robmwalsh could you coordinate 🙏 ? Solves similar problem to #263

@robmwalsh robmwalsh self-requested a review November 23, 2020 23:44
Copy link
Contributor

@robmwalsh robmwalsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work here @antoniograndinetti! A few things to fix up, mainly relating to types. You've stumbled into some of the slightly more complicated type machinery here - I've tried to explain the relevant bits but feel free to ask if anything's unclear.

jdbc/src/main/scala/zio/sql/jdbc.scala Outdated Show resolved Hide resolved
core/jvm/src/main/scala/zio/sql/expr.scala Outdated Show resolved Hide resolved
core/jvm/src/main/scala/zio/sql/expr.scala Outdated Show resolved Hide resolved
Copy link
Contributor

@robmwalsh robmwalsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work here @antoniograndinetti - just a few more things to go to make the parenless functions parenless in our DSL as well, and a bit of extra type safety

core/jvm/src/main/scala/zio/sql/expr.scala Outdated Show resolved Hide resolved
core/jvm/src/main/scala/zio/sql/expr.scala Outdated Show resolved Hide resolved
core/jvm/src/main/scala/zio/sql/expr.scala Outdated Show resolved Hide resolved
core/jvm/src/main/scala/zio/sql/expr.scala Outdated Show resolved Hide resolved
@jczuchnowski jczuchnowski merged commit 23d1834 into zio:master Nov 28, 2020
@robmwalsh
Copy link
Contributor

Awesome work here @antoniograndinetti! Thanks for your contribution

amrkamel pushed a commit to amrkamel/zio-sql that referenced this pull request May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add 'timeofday' function to PostgresModule Add 'current_time' function to PostgresModule
3 participants